﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

static class BRTSearcher
{
    // dictionary???
    static Dictionary<string, string> keyMaps = new Dictionary<string, string> {
{ "typely", "type" },
{ "walkly","walk"},
{ "runly","run"},
{ "idlely","idle"},
{ "putly", "put_cap"},
{ "seely","see_around" },
{ "textly","texting_and_walking"},
{"pointly","pointing_forward" },
{"thumbly","sitting_thumbs_up" },
{"defeatly","defeated" },
{"angryly","sitting_angry" },
{ "aroundly","walk_around_the_artwork"},
{ "eatly","eat_1"},
{"dinnerly","eat_2"},
{"havedinnerly","eat_3"},
{"surprisely","surprised"},
{"storyly","tell_story_1"},
{"tellly","tell_story_2"},
{"talkly","tell_story_3"},
{"rubly","shoulder_rubbing"},
{"cleanly","wash_window"},
{"phonely","talk_phone_pacing"},
{"bangly","banging_fist"},
{"angerly","defeated_idle"},
{"disbeliefly","sit_disbiefly"},
{"writely","write_on_the_blackboard"},
{"drumly","play_drum"},
{"pianoly","play_piano"},
{"singly","sing"},
};
    public static string searchMotionForKey(string keyword)
    {
        if (keyword != null && keyMaps.ContainsKey(keyword))
        {
            return keyMaps[keyword];
        }
        else return "";
    }
}

